export interface SftpDTO {
  path: string;
  files: SftpFile[];
}

export interface SftpFile {
  name: string;
  size: string;
  lastModified: string;
  type: string;
  permission: string;
  owner: string;
  // dir?: boolean;
}

export interface SftpFileContentDTO {
  content: string;
  lastModified: number;
}

export interface SaveFileContentParams {
  connectionId: string;
  path: string;
  content: string;
  lastModified: number;
}
